\chapter{Game world}
\label{chap:gameWorld}

In this chapter we describe the imaginary world that we created to serve as the background of our game.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Backstory}

Once upon a time there was a slightly challenged burglar with a grand idea. He wanted to collect the most beautiful treasures of the world. The only flaw in his plan was his lack of money, so he set out on a great tour to sneak into museums all around the world and steal the artifacts he craved for. Each time he hatches a plan to break into a museum to take the valuable item. The most interesting in his story is that he was never caught; some say that the burglar is watched over by some kind of an invisible guardian.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{The protagonis}

He is an ordinary man shown in figure~\ref{fig:burglars} with no special abilities but to move silently in dark rooms. Stealing a sleeping guard's hat (figure~\ref{fig:burglarDisguised}) allows the \emph{burglar} to slip through the watch of security cameras unnoticed. He has a basic idea of the building's layout, and the whereabouts of the museum's most precious artifact. Sometimes he may even know some of the security measures which he avoids at all cost.

\begin{figure}[H]
%\begin{wrapfigure}{r}{0.5\textwidth}
  \centering
  \subfloat[]{\label{fig:burglar}\includegraphics[width=16mm]{../img/screenshots/burglar.eps}}
  \qquad %add desired spacing between images, e. g. ~, \quad, \qquad etc. (or a blank line to force the subfig onto a new line)
  \subfloat[]{\label{fig:burglarDisguised}\includegraphics[width=16mm]{../img/screenshots/burglar_disguised.eps}}
  \caption{a) burglar, b) burglar in a stolen uniform}
  \label{fig:burglars}
\end{figure}
%\end{wrapfigure}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Dangers}

In our world a building's protection is accomplished in a passive manner by locked doors, and in an active mannery by patrolling \emph{guards} and \emph{security cameras}.

\subsection{Security cameras}
\label{subs:camera}

\emph{Cameras} as shown in figure~\ref{fig:cameras} are automatized security systems; they have no need to sleep, but unfortunately they can be disabled by unknown forces. When they are active they generate their own light beam that fills a single room they are protecting. In case a camera is detecting movement it tries to identify it as a \emph{guard}, based on his characteristic hat; if the identification process fails the camera sounds the alarm to trap the intruder preventing any further foreign activity.

\begin{figure}[H]
%\begin{wrapfigure}{r}{0.5\textwidth}
  \centering
  \subfloat[]{\label{fig:cameraOff}\includegraphics[width=16mm]{../img/screenshots/camera_off.eps}}
  \qquad %add desired spacing between images, e. g. ~, \quad, \qquad etc. (or a blank line to force the subfig onto a new line)
  \subfloat[]{\label{fig:cameraOn}\includegraphics[width=16mm]{../img/screenshots/camera_on.eps}}
  \caption{a) turned off \emph{camera}, b) active \emph{camera}}
  \label{fig:cameras}
\end{figure}
%\end{wrapfigure}

\subsection{Guards}

A typical member of the night shift has a well recognizable blue hat and uniform as displayed in figure~\ref{fig:guards}. They are patrolling on dedicated territories using their flashlights to look into every corner. If they see any unrecognized face even if wearing a familiar guard hat, they sound the alarm and catch the intruder. If guards bumps into a locked \emph{door} on their path, they either find an alternative route or a key to open it. Their only weakness is fatigue; sometimes they can be seen sleeping on the job (figure~\ref{fig:guardDazed}). In that case they don't wake up until next morning.

\begin{figure}[H]
%\begin{wrapfigure}{r}{0.5\textwidth}
  \centering
  \subfloat[]{\label{fig:guard}\includegraphics[width=16mm]{../img/screenshots/guard.eps}}
  \qquad %add desired spacing between images, e. g. ~, \quad, \qquad etc. (or a blank line to force the subfig onto a new line)
  \subfloat[]{\label{fig:guardDazed}\includegraphics[width=21mm]{../img/screenshots/guard_dead.eps}}
  \qquad %add desired spacing between images, e. g. ~, \quad, \qquad etc. (or a blank line to force the subfig onto a new line)
  \subfloat[]{\label{fig:guardNaked}\includegraphics[width=21mm]{../img/screenshots/guard_naked.eps}}
  \caption{a) patrolling guard, b) dazed guard, c) guard, after its uniform has been taken}
  \label{fig:guards}
\end{figure}
%\end{wrapfigure}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Surroundings}

The environment of the game is set into a museum. It consists of a maze of rooms containing several static objects, like \emph{cameras}, \emph{vending machines} and \emph{containers}.

\subsection{Vending machine}

Vending machines shown in figure~\ref{fig:venders} hold sweet beverages that every museum visitor craves. If a drink happens to drop out of the machine (figure~\ref{fig:venderOn}), no person is able to resist the urge to pick up and drink it before continuing on its journey.

\begin{figure}[H]
%\begin{wrapfigure}{r}{0.5\textwidth}
  \centering
  \subfloat[]{\label{fig:venderOff}\includegraphics[width=16mm]{../img/screenshots/vender_off.eps}}
  \qquad %add desired spacing between images, e. g. ~, \quad, \qquad etc. (or a blank line to force the subfig onto a new line)
  \subfloat[]{\label{fig:venderOn}\includegraphics[width=16mm]{../img/screenshots/vender_on.eps}}
  \caption{a) powered down vending machine, b) working vending machine}
  \label{fig:venders}
\end{figure}
%\end{wrapfigure} 

\subsection{Container}

The exhibits of the museum are stored in various containers as shown in figure~\ref{fig:containers}. In one of these chests is hidden the \emph{artifact} the burglar came for. In other containers there may be \emph{keys} that open other locked containers (figure~\ref{fig:lockedContainer}) or doors (figure~\ref{fig:lockedDoor}).

\begin{figure}[H]
%\begin{wrapfigure}{r}{0.5\textwidth}
  \centering
  \subfloat[]{\label{fig:lockedContainer}\includegraphics[width=16mm]{../img/screenshots/container_locked.eps}}
  \qquad %add desired spacing between images, e. g. ~, \quad, \qquad etc. (or a blank line to force the subfig onto a new line)
  \subfloat[]{\label{fig:closedContainer}\includegraphics[width=16mm]{../img/screenshots/container_closed.eps}}
  \qquad %add desired spacing between images, e. g. ~, \quad, \qquad etc. (or a blank line to force the subfig onto a new line)
  \subfloat[]{\label{fig:openedContainer}\includegraphics[width=16mm]{../img/screenshots/container_opened.eps}}
  \caption{a) locked container, b) closed container, c) opened container}
  \label{fig:containers}
\end{figure}
%\end{wrapfigure}

\subsection{Door}

\emph{Doors} like the one in figure~\ref{fig:doors} are connecting the rooms of the building. They may be locked (figure~\ref{fig:lockedDoor}), in which case the guards and the burglar require a special key to get through them. 

\begin{figure}[H]
%\begin{wrapfigure}{r}{0.5\textwidth}
  \centering
  \subfloat[]{\label{fig:lockedDoor}\includegraphics[width=16mm]{../img/screenshots/door_locked.eps}}
  \qquad %add desired spacing between images, e. g. ~, \quad, \qquad etc. (or a blank line to force the subfig onto a new line)
  \subfloat[]{\label{fig:closedDoor}\includegraphics[width=16mm]{../img/screenshots/door_closed.eps}}
  \qquad %add desired spacing between images, e. g. ~, \quad, \qquad etc. (or a blank line to force the subfig onto a new line)
  \subfloat[]{\label{fig:openedDoor}\includegraphics[width=16mm]{../img/screenshots/door_opened.eps}}
  \caption{a) locked door, b) closed door, c) opened door}
  \label{fig:doors}
\end{figure}
%\end{wrapfigure}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Items}

There are three types of items hidden in the inventory of our burglars, guards, or in the containers: keys, treasure and uniforms.

The \emph{keys} can be used to open locked doors (figure~\ref{fig:lockedDoor}) or containers (figure~\ref{fig:lockedContainer}).

One of the \emph{treasures} hidden in containers is the one the burglar is looking for.

The \emph{uniforms} can usually be found on guards, but the burglar also can make good use of them.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{The player}

The player can enter into the role of a mysterious ghost entity. This creature sees and knows everything in the building; it is also able to changes the world to its liking through manipulating physical objects. The ghost's only weakness is that he can't directly influence the mind of the world's inhabitants.

